package com.bjpowernode.boss.mvc.models.form.operator;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class LoginForm {
    @NotNull(message = "登录名称不能为空")
    @Size(min = 5,max = 20,message = "登陆字符在{min}-{max}之间")
    private String loginName;
    @NotNull(message = "登录密码不能为空")
    @Size(min = 32,max = 32,message = "密码格式错误")
    private String loginPwd;
}
